package org.example.publisherrealtime.mapper;

import org.example.publisherrealtime.bean.NameValue;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface PublisherMapper {
    Map<String, Object> searchDau(String td);
    Long searchTotalDau(String td);

    List<NameValue> searchStatByItem(String itemName, String date, String field);

    Map<String, Object> searchDetailByItem(String itemName, String date, Integer from, Integer pageSize);
}
